package org.scirp.ijmis.service.personpaper.impl;

import org.scirp.ijmis.dao.personpaper.IProofReadDAO;
import org.scirp.ijmis.po.personpaper.ProofRead;
import org.scirp.ijmis.service.personpaper.IProofReadService;

public class ProofReadServiceImpl implements IProofReadService {
	private IProofReadDAO proofReadDAO;

	public boolean saveOrUpdateProofRead(ProofRead proofRead) {
		return proofReadDAO.saveOrUpdateProofRead(proofRead);
	}

	public ProofRead selectByPaperId(Long paperId) {
		return proofReadDAO.selectByPaperId(paperId);
	}

	public boolean deleteProofRead(Long proofReadId) {
		return proofReadDAO.deleteProofRead(proofReadId);
	}

	public IProofReadDAO getProofReadDAO() {
		return proofReadDAO;
	}

	public void setProofReadDAO(IProofReadDAO proofReadDAO) {
		this.proofReadDAO = proofReadDAO;
	}

}
